Track activities so you can get an idea of how your users behave in your mobile shop. This is an invaluable tool, as studying user behaviors help you improve your sales methods to increase sales.
If using such a tracking pixel, you should be able to find an HTML snippet in your tracking code similar to this:
The simple steps and rules to convert your tracking pixel can be found below:
Remove the <div> tags
The first step is to remove the <div> tags. In this example, the tags are:
<div style="display:inline;"> and </div>
Rewrite the <img> contents
In this example, the <img .../> tag and its contents can be broken down into five different elements:
|1.||<img ..../>||var imgtag = document.createElement('img');|
|2.||height="1"||imgtag.height = '1';|
|3.||width="1"||imgtag.width = '1';|
|4.||style="border-style:none;"||imgtag.style = 'border-style:none;';|
|5.||alt=""||imgtag.alt = '';|
|imgtag.src = '//googleads.g.doubleclick.net/pagead
Entering your tracking code
After your tracking pixel has been converted, enter it at your Shopgate Admin:
- Click Settings from the menu bar, then select Tracking Tools.
- Locate the Tracking codes section, select a platform and a page to display the code, and click +Add.
- Enter a title and your tracking code in the script editor. Turn Autovalidation to ON so your shop will have extra security and coding accuracy. Your code will be validated before it can be saved.
- Click Save.
That's it! You have successfully set up a tracking pixel. Repeat the steps here to enter another code if needed.
To learn more about the tracking codes function and all its options, please read Embedding a custom tracking code.