Autotrack Plugin Implementation via Code Installation

Solve china dataset issues with shared expertise and innovation.
Post Reply
nusaiba127
Posts: 126
Joined: Sun Dec 22, 2024 9:44 am

Autotrack Plugin Implementation via Code Installation

Post by nusaiba127 »

Social interactions
The Autotrack plugin simplifies tracking social interactions. Standard plugins for Facebook (Like) and Twitter (tweet/follow) are tracked automatically, and for the rest it is enough to specify attributes as for events, but in the format data-social-network, data-social-action and data-social-target.

Analytics of one-page websites
Nowadays, in addition to classic multi-page sites , there are sites that contain all their content on one page. All navigation occurs within one page, while the URL in the address bar changes. These are the changes that the Autotrack plugin tracks and sends as a new page view. But there is a nuance: changing the URL via the # parameter (for example, anchors on the page) will not be considered a new page, and in this case, the data will not be sent.

Now about the most interesting part: how to add the Autotrac singapore consumer email list plugin to your site? Let's consider 2 options - directly in the code and through Google Tag Manager.

Recommended and the only option described in the manual.

Instructions:

Create a file autotrack.js on your computer.
Copy the entire text of the script from the page:js and save it to the created file.
Place the file on the site in the published folder.
Replace the current Google Analytics code with the new one.
Please note! In the script below, you need to insert 2 of your own values: the counter number (UA-XXXXX-Y) and the path to the file you just added from the previous step.
Post Reply