Dynamic remarketing with AI recommendations

Published September 18, 2023
Selected Clients
mediaexpert logo
Powered by
OChK logo

Not all potential customers that come to your website purchase right away. You need to continue to influence them not only from your website, but also across Google’s display network. Segmenting visitors and remarketing to those that have ‘Abandoned the Shopping Cart’ or ‘Visited A Product Page” may not be enough. If you want to beat your competitors you should take your remarketing campaign a step further, using our AI recommendation engine and showing customers the most relevant products.

Example of use - Home appliances industry


A client from the home appliance industry decided to use AI recommendation campaigns outside their website with Google remarketing. They wanted to show customers personalized recommendations based on their behavior. They already had such a campaign on their homepage and they wanted to display those products to customers while they browsed the Internet.

To do this, they added Google Data Layer events to the script with a recommendations campaign to get the ID of products recommended to each customer. In this way they were able to display their campaigns with personalized products on external websites as remarketing to customers who previously visited their page.

Screenshot presenting dynamic remarketing


  1. Basic elements of AI integration:

    • Tracker
    • Product feed, filled with appropriate custom attributes
    • Transactional events
    • OG tags
  2. Google Data Layer implemented on the website

How to do it

You need to send a dataLayer.push event to every visitor of your website. Add the script below in the java script section in the dynamic content with the recommendation campaign:

'pid': 'product_id', 
'event': 'event_name' 
'sce': 'campaign_name'}); 


  • product_id- recommended product ID
  • event_name- name of the event, by which you will recognize AI recommendation’s campaign
  • campaign_name- optionally, name of the recommendation campaign. Very useful if you send to the Data Layer products from more than one AI campaign a time
Important: Remember that you need to send a separate event for every product.

Read more


We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.



Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker