AppYourself Club AppYourself Club
  • NEWS
  • RESELLER CHECKLIST
  • SALES
  • SUPPORT
  • BLOG
  • NEWSLETTER
  • LIVE DEMO
  • MAKE A CALL: +49 30 – 60 98 19 795
  • Deutsch
  • English
AppYourself Club AppYourself Club
  • NEWS
  • RESELLER CHECKLIST
  • SALES
  • SUPPORT
  • BLOG
  • NEWSLETTER
  • LIVE DEMO
  • MAKE A CALL: +49 30 – 60 98 19 795
  • Deutsch
  • English
Mar 17

Google Tag Manager

  • March 17, 2016
  • ay-admin

What is Google Tag Manager?

A description of GTM can be found here.

 

What can I do with Google Tag Manager?

GTM enables you to independently integrate various tools with your platform. The chat tool that we use from Intercom can be integrated with GTM for example.

AppYourself is a so-called one page application. Clicks and page changes take place without a server request. Therefore the URL does not change.

 

Setting up Google Analytics

  1. Go to Tags and create a new tag for Google Analytics
  2. Enter your GA Tracking-ID and the following tag configuration
    1. Erfassungstyp = Seitenaufruf
    2. Festzulegende Felder
      1. allowLinker = false
      2. anonymizeip = true
      3. page = {{virtualUrl}}
      4. title = {{virtualUrl}}

 

Connect Intercom (with GTM)

  1. Create a new tag
  2. Choose product = user defined HTML tag
  3. Configure tag by using this custom code. Exchange <APP_ID> with the App-ID of your intercom:

<script type=”text/javascript”>

(function(){var w=window;var ic=w.Intercom;if(typeof ic===”function”){ic(‘reattach_activator’);ic(‘update’,intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement(‘script’);s.type=’text/javascript’;s.async=true;

s.src=’https://widget.intercom.io/widget/<APP_ID>’;

var x=d.getElementsByTagName(‘script’)[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent(‘onload’,l);}else{w.addEventListener(‘load’,l,false);}}})()

</script>

<script type=”text/javascript”>

var AYintercom = {

login: function(clientEmail, subdomain, name){

window.Intercom(‘boot’, {

app_id: ‘<APP_ID>’,

email: clientEmail,

name: name,

resellerSubdomain: subdomain,

widget: {

activator: ‘#IntercomDefaultWidget’

}

});

},

logout: function(){

window.Intercom(‘shutdown’);

},

update: function(data){

window.Intercom(‘update’, {

“email”: data.email,

“app-id”: data.appRandomId,

“app-name”: data.appName,

“plan”: data.planName,

“plan-id”: data.planExternalId,

“has-native”: data.hasNative,

“order-date”: data.orderDate

});

},

updateDesign: function(data){

window.Intercom(‘update’, {

“email”: data.email,

“industry-id”: data.industryId,

“industry-name”: data.industryName,

“template-id”: data.templateId

});

}

};

</script>

4.Trigger by “firing”

1322    Reseller Acount Setup  

Related Knowledge Base Posts -

  • Package Configuration
  • How do I cancel an app?
  • SPF and DKIM Records
  • Facebook
  • Twitter
  • Tumblr
  • Pinterest
  • Google+
  • LinkedIn
  • E-Mail

About The Author

Comments are closed.

Recent Posts

  • Selling apps: this is how you succeed as a reseller
  • Do my customers need an app?
  • Marketing tools: how to use them as an app reseller with promising results!
  • The new AppYourself brings great changes for your customers apps
  • Information on future App submissions to the Apple App Store

Recent Comments

    Archives

    • August 2021
    • November 2019
    • December 2018
    • May 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    • October 2017

    Categories

    • AppYourself
    • News
    • Product
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    2015 Theme - WordPress Theme built by Mintithemes using WordPress.
    • Search Knowledgebase