"Send offline conversion" node

In Synerise, you can collect information about offline conversion after clicking an ad and send such data to Google Ads. This way, you can get the full picture of customer journey and find out who sees ads online but ultimately completes an offline transaction with your business by buying after visiting your brick and mortar shop or speaking with a salesperson by phone.

Note: You define what conversion is, it may be a purchase but also submitting a form, and so on.

Through the Send offline conversion node, you will send the following data to Google Ads:

  • the ID of your Google Ads account,
  • the value of the gclid parameter - In order to send the value of the gclid parameter for each profile who will go through a workflow, you can extract it from the page.visit event by an expression and then an aggregate which extracts the gclid value from the page.visit.
  • the conversion action ID,
  • the date when the conversion occurred,
  • the value of the conversion for the advertiser (optional),
  • currency (optional).

Prerequisites


Create an expression


In this part of the process, you can create an event expression for the page.visit event (an event generated after a visit of a profile to the website) to extract the gclid parameter from the URL of visited website. After saving the expression, it becomes a parameter of the page.visit event, which can be used while creating other analyses. This expression will be used in the next part of the process in which the value of the gclid parameter will be retrieved from the specific page.visit event.

  1. Go to Image presents the Analytics icon Analytics > Expressions > New expression.
  2. Enter the name of the expression.
  3. Set the Expression for option to Event.
  4. From the Choose event dropdown list, select an event generated after a visit to the page.
  5. In the Formula definition dashboard, click Select.
  6. From the dropdown list, select Functions > Regexp.
  7. Click the left Select node.
  8. From the dropdown list, select Event attribute.
  9. Click the Unnamed node.
  10. From the Choose parameter dropdown list, select the parameter that signifies URL address.
  11. Click the right Select node.
  12. From the dropdown list, select Constant.
  13. Click the 0 node.
  14. In the text field, enter the following formula: (?<=gclid=)(.+?)(?=$)
    The configuration of the expression that retrieves the value of gclid parameter from the URL
    The configuration of the expression that retrieves the value of gclid parameter from the URL
  15. Click Publish.

Create an aggregate


In this part of the process, you can create an aggregate that retrieves the value of the gclid parameter from the latest page visit to your website. This way, you can inject the result of the aggregate in the form of a Jinjava tag in step 2 in the Define the integration settings in which you must provide the value of the gclid parameter.

  1. Go to Image presents the Analytics icon Analytics > Aggregates > New aggregate.

  2. Enter the name of the aggregate.

  3. Set the Aggregate option to Last.

    Note: The choice of an aggregator depends on your business needs. The aggregator you choose in this step will define which clicked ad you will attribute the conversion to. For example, by selecting the Last aggregator, the conversion will be attributed to the last ad clicked before the conversion. You can additionally modify the conditions of the aggregate by specifying a specific time period or date of a specific event.
  4. From the Choose event dropdown list, select an event generated after a visit to the page.

  5. From the Choose parameter dropdown list, click Three dot icon > Expressions and select the expression you created in the previous part of the process.

  6. Click + where.

  7. From the Choose parameter dropdown list, select the parameter that signifies URL address.

  8. As the logical operator, select Contain (String).

  9. In the text field, enter gclid=.

  10. In the right bottom corner, click the calendar icon and set the date range to Lifetime.

    The configuration of the aggregate that retrieves the value of gclid parameter from the latest visit to the page
    The configuration of the aggregate that retrieves the value of gclid parameter from the latest visit to the page
  11. Click Save.

Node configuration


  1. Click Google Ads > Send offline conversion.
  2. Click Select connection.
  3. From the dropdown list, select the connection.

Create a connection

To allow the data exchange, establish a connection between Synerise and Google Ads.

  1. At the bottom of the Select connection dropdown list, click Add connection.
  2. On the pop-up, click Sign in with Google.
  3. Select a Google account which has access to the Google Ads account that you want to use.
  4. Follow the instructions on the interface.
  5. After successful authentication, click Next.
  6. In the Connection name field, enter the name of the connection.
    It’s used to find the connection on the list.
  7. Click Apply.
    Result: A connection is created and selected.

Define the integration settings

  1. In the Google Ads customer ID field, enter the number of the Google Ads account. It can’t contain dashes. Learn how to find this number.

  2. In the The Google click ID (GCLID) associated with this conversion field, enter the part of the URL that starts with ?gclid=.
    For that purpose, you can enter a Jinjava tag that inserts the value of the aggregate you created in the previous part of the process: {% aggregate AGGREGATE_ID %}{{ aggregate_result[0] }}{% endaggregate %}. Replace the AGGREGATE_ID with an actual ID of the aggregate, you can find it in the URL while previewing the aggregate.

  3. In the Conversion action ID field, enter the ID of the conversion. You can find it in the Google Ads panel. When you go to conversion action details, the URL contains the “ctld” parameter (for example, “ctId=123456789") whose value is the conversion action ID. Learn more about conversion action in Google Ads.

  4. In the Conversion time field, enter the time of the conversion in the following format: yyyy-mm-dd hh:mm:ss+|-hh:mm.
    For that purpose, you can use a Jinjava code that inserts date of conversion dynamically. For example, {{ event.params.time|timestamp_to_time|datetimeformat('%y-%m-%d %H:%M:%S+2:00') }}.

  5. Optionally, in the Conversion value for the advertiser field, enter the value. For that purpose, you can use a Jinjava code that inserts the value dynamically.

  6. Optionally, in the Currency associated with the conversion value field, enter the currency. For that purpose, you can use a Jinjava code that inserts the value dynamically.

  7. Confirm the settings by clicking Apply.

😕

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.

😉

Awesome!

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