1b.app
Link copied -

remarketing and e-commerce setup

Ищете систему которая умеет работать с ремаркетингом и электронной коммерцией?
Вам стоит установить последнюю версию OneBox - там это возможно! Установить последнюю версию системы
How to set up e-commerce and remarketing?
In Google Ads, there is an error with the source of the audience, and in analytics, there is also an error.
https://prnt.sc/vi1h17
https://prnt.sc/vi1gmp
There is integration with Google /admin/shop/settings/google/
But it is not clear where and what code to insert, can there be some kind of instruction?
What values should be here? https://prnt.sc/vi1rc8
Original question is available on version: ru

Answers:

through the code insertion block, you can insert the remarketing code and specify the type in the variables like this
<!-- GoogleRemarketing -->
<script>
gtag('event', 'page_view', {
'send_to': 'AW-972829958',
'value':'{|$dynx_totalvalue|}',
'items': [{
'id': '{|$dynx_itemid|}',
'google_business_vertical': 'retail'
}]
});
</script>
13.11.2020, 14:43
Original comment available on version: ru


Ustimenko Igor
OneBox CTO wrote:
through the code insertion block, you can insert the remarketing code and specify the type in the variables like this
<!-- GoogleRemarketing -->
<script>
gtag('event', 'page_view', {
'send_to': 'AW-972829958',
'value':'{|$dynx_totalvalue|}',
'items': [{
'id': '{|$dynx_itemid|}',
'google_business_vertical': 'retail'
}]
});
</script>

thanks, I'll try. and so that the conversions pass what code is needed and where to insert it?
13.11.2020, 18:00
Original comment available on version: ru


Alexander
Client wrote:

Ustimenko Igor
OneBox CTO wrote:
through the code insertion block, you can insert the remarketing code and specify the type in the variables like this
<!-- GoogleRemarketing -->
<script>
gtag('event', 'page_view', {
'send_to': 'AW-972829958',
'value':'{|$dynx_totalvalue|}',
'items': [{
'id': '{|$dynx_itemid|}',
'google_business_vertical': 'retail'
}]
});
</script>

thanks, I'll try. and so that the conversions pass what code is needed and where to insert it?

you get the code in google account
it also describes where to insert it - you will need to go to the settings of the IM template and find them
14.11.2020, 11:02
Original comment available on version: ru


Ustimenko Igor
OneBox CTO wrote:
through the code insertion block, you can insert the remarketing code and specify the type in the variables like this
<!-- GoogleRemarketing -->
<script>
gtag('event', 'page_view', {
'send_to': 'AW-972829958',
'value':'{|$dynx_totalvalue|}',
'items': [{
'id': '{|$dynx_itemid|}',
'google_business_vertical': 'retail'
}]
});
</script>

I need to post this code, how can I do it?
2. The following tags for dynamic remarketing must be placed on the relevant pages of the site:
on the product view page:
gtag('event', 'view_item', {
'send_to': 'AW-983983579',
'value': <Product price>,
'items': [{
'id': <Product ID>,
'google_business_vertical': 'retail'
}]
});
when adding an item to the cart:
gtag('event', 'add_to_cart', {
'send_to': 'AW-983983579',
'value': <Product price>,
'items': [{
'id': <Product ID>,
'google_business_vertical': 'retail'
}]
});
on the successful order page:
let PRODUCT_LIST = []; // List of goods
PRODUCT_LIST.push(
id: <Product ID>,
google_business_vertical: 'retail'
);
gtag('event', 'purchase', {
'send_to': 'AW-983983579',
'value': <order amount>,
'items': PRODUCT_LIST
});
18.11.2020, 18:01
Original comment available on version: ru

Note: The tags must use the same product id as in the product feed in the Google Merchant Center.
18.11.2020, 18:02
Original comment available on version: ru

and for conversion tracking, what value should I put in 'transaction_id': ?
to send order number
18.11.2020, 18:07
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment