TOC:
Integration in a container tag solution
Extended (dynamic) retargeting pixel
Examples
Integration into a network container tag
Generic Example:
<script type="text/javascript" charset="utf-8" src="https://ad4m.at/network-tag.js"></script>
<script type="text/javascript" charset="utf-8">
advancedStoreNetworkTag.create({
advertiserId: "",
networkId: "",
productIds: "",
productCategoryIds: "",
rtOptout: "" ,
orderId: "",
quantity: "",
revenue: "",
currency: "",
pageUrl: ""
})
</script>
Explanation of all parameters
Name: advertiserId
Description: Unique ID of the advertiser in the network database.
Type: String or Integer
Example: 17604
- - -
Name: networkId
Description: Unique ID of the network in the advanced store databsae. The value is set in the networkTag document.
Type: Integer
Example: 5
- - -
Name: rtOptout
Description: Indicates to stop retargeting. Set to true if the user bought something or finished the registration. Otherwise set to false.
Type: Boolean
Example: false
- - -
Name: orderId
Description: Unique ID of the conversion. Usually the order number of your system.
Type: Integer
Example: 1234564798
- - -
Name: orderValue
Description: Sales value of the conversion.
Type: Integer
Example: 19.19
- - -
Name: productCategoryIds
Description: ID or name of viewed category.
Type: String or Integer.
Example: 987
- - -
Name: productIds
Description: ID or name of viewed product.
Type: String or Integer.
Example: 123
- - -
Name: pageUrl
Description: URL of the current page
Type: String
Example: https://www.example.com/subfolder/page
(Only needed if the advanced tag is not directly integrated into the page, read "Integration in a container tag solution")
If you have any question during the implementation feel free to get in contact directly. In our live chat also technical support by developers is provided.
Examples
Example for a product page:
...
<script type="text/javascript" charset="utf-8">
advancedStoreNetworkTag.create({
advertiserId: "17304",
networkId: "5",
rtOptout: false,
orderValue: null,
orderId: null,
productIds: 123456,
productCategoryIds: 123,
pageUrl: "https://www.example.com/..."
});
</script>
Example for a category page:
...
<script type="text/javascript" charset="utf-8">
advancedStoreNetworkTag.create({
advertiserId: "17304",
networkId: "5",
rtOptout: false,
orderValue: null,
orderId: null,
productIds: null,
productCategoryIds: 123
});
</script>
Example for an order confirmation page:
...
<script type="text/javascript" charset="utf-8">
advancedStoreNetworkTag.create({
advertiserId: "17304",
networkId: "5",
rtOptout: true,
orderValue: 12.23,
orderId: 123456,
productIds: null,
productCategoryIds: null
});
</script>