当前位置:网站首页>How to set up salesmartly for Google Analytics tracking

How to set up salesmartly for Google Analytics tracking

2022-06-10 18:42:00 Salesmartly

With the help of Google Analytics( analysis ) track , You can pay close attention to the activities of your website , And see what you use Google Track the results of custom events set by the code manager . for example , You can include custom events to track the chat start time 、 The end time of the chat or the time when a new job is created .

precondition

For SaleSmartly Set up Google Analytics Before tracking , You need the following :

  1. Google Analytics( analysis ) Accounts and media resources
  1. One SaleSmartly account

Retrieve the global site code

Please note that : If you have set the global site label for your website , You can skip this section .

1 - Log in to your Google Analytics Dashboard and navigate to Admin.

2 - stay management On the page , single click attribute Listed below Setup assistant . This will open a new panel .

3 - In the panel , Locate the label installation and click > Icon . This should open the option to set the data flow .

4 - In settings , choice Web, A panel will appear .

5 - In the panel , Enter your site's URL And what you need Data flow name . And then click Create stream .

6 - Next , The panel redirects you to the stream details . From there, , You can find your global site tag under the tag description .

towards Google Analytics Send events

To send a custom event to your Google Analytics( analysis ) account , You can use code from the global web site (gtag.js) Loaded gtag object .

for example , We can use SaleSmartly onSendMessage  JS API take chat_started Events are sent to your Google Analytics account . Put this code in the... Of the web page <body> in .

JavaScript

// Reference your plug-in link

<script src="https://assets.salesmartly.com/js/project_xxxxxx.js"></script>

// to google Report chat_started event

<script type="text/javascript">

var isChatStarted = false;

ssq.push('onSendMessage', function(obj) {

   if (!isChatStarted) {

      isChatStarted = true;

      gtag('event', 'chat_started');

   }

}

</script>

 

Now you set up SaleSmartly Conduct Google Analytics( analysis ) You should have a basic understanding of tracking , Use  SaleSmartly  Reduce cost and increase efficiency for you , Come and experience it together ! Now you can join with SaleSmartly Share millions of bonuses together

key word :Google Analytics

Official registration link :SaleSmartly

原网站

版权声明
本文为[Salesmartly]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101755582765.html