Bing Ads Destination
Destination Info
- Accepts Page, and Track calls
- Refer to it as Bing Ads in the Integrations object
Components
Bing Ads enables Marketers to track and monitor campaigns, clicks, CTRs, spend and budget. Bing Ads lets you place cross-device product ads in front of Bing, Yahoo, and MSN customers and support imported pay-per-click ad campaigns from third-party platforms like Google AdWords. With Bing Ads you can also retarget ads to customers after they complete an action like leaving a shopping cart or viewing a product without purchasing. To learn more, see Bing Ads. You can also browse the code on GitHub.
Getting started
Before you can track conversions or target audiences, create a UET tag in Bing Ads and then add it to the destination settings. Follow the steps within the Bing Ads documentation to create a UET tag.
After you have created the Tag ID, follow the steps below:
- From the Segment web app, click Catalog.
- Search for “Bing Ads” in the Catalog, select it, and choose which of your sources to connect to the destination. Note that the source must be sending events using Segment’s JavaScript library Analytics.js.
- In the destination settings, enter your Tag Id.
Your changes will appear in the Segment CDN in about 45 minutes, and then Analytics.js starts asynchronously loading Bing Ads snippets on your page and sending data.
Note: You’ll only be able to include one Tag ID per source so make sure to associate the conversion goals to the correct Tag ID that is included in your settings.
Page
If you’re not familiar with the Segment Specs, take a look to understand what the Page method does. An example call looks like:
// name and properties are optional
analytics.page();
Page events will be sent to Bing Ads as a Page Load
event where name and properties are optional.
Track
If you’re not familiar with the Segment Specs, take a look to understand what the Track method does.
For Segment to map your track events to a Conversion Goal, first create the goal on your Bing Ads account:
- Click the Campaigns tab, and then on the left pane, click Conversion Tracking.
- Under Conversion Tracking, click Conversion Goals.
- On the conversion goals page, click Create conversion goal.
- Enter a name for your goal in the Goal name box. When naming your goal, use a descriptive name that makes sense to you. (For example, “Checkout page”)
- Choose the
Event
type of conversion and click Next. - Fill in the appropriate values. Make sure to add the Segment event name as the label field and to associate the goal to the correct Tag (UET Tag) that is set up in your Segment source.
Setting up Custom Events:
Step 1: Add the UET Tag Tracking Code to Your Website
- Copy the UET tag from Microsoft Advertising.
- Paste the tag into the head or body section of your website’s code.
Step 2: Create a Conversion Goal or Remarketing List
Creating a conversion goal for a custom event:
- From the top menu, select Tools > Conversion goals.
- Select the type of conversion you want to track.
- Enter a descriptive name for your goal.
- Fill in the appropriate values for your selected goal type.
- Fine-tune your conversion goal with advanced settings.
- Associate the UET tag with the conversion goal.
Creating a remarketing list for a custom event:
In Microsoft Advertising, click Shared Library > Audiences. Click Create audience > Remarketing list. For Whom to add to your audience, select Custom events. Choose the parameters to report when logging custom events. Set the membership duration. Associate the UET tag with the remarketing list.
Step 3: Modify the UET Tag Tracking Code in Your Website
- Add the code for the custom event to the UET tag tracking code.
- Follow the instructions provided to set up the event tag on your website.
For Segment to map your track events to a Conversion Goal, create the goal in your Bing Ads account:
For information about tracking custom events, see Microsoft’s article How to track custom events with UET
Only the event name is required - other properties are optional. An example track call is shown below:
// Segment event
analytics.track('Order Completed', {
category: 'tools'
revenue: 25,
... // additional properties
});
Property | Description |
---|---|
Label | Event Name ('Order Completed' in this case) |
Value | revenue property |
Category | category property |
Action | Always set to track |
Troubleshooting
Script unverified or undetected by third-party tool
Many times this is a limitation on the tool’s detection process, where the detector is looking for a specific HTML element on your page. Our client side analytics.js library asynchronously loads the tool’s library or pixel onto the page. As such, the detection fails.
In order to confirm that the tool’s library or pixel is actually loaded onto the page, you can open up the JavaScript console and go to the network tab when the page is loading.
If the script isn’t loading, check that any form of ad blocker is disabled.
Settings
Segment lets you change these destination settings from the Segment app without having to touch any code.
Setting | Description |
---|---|
Tag ID (required) |
string . Your Bing Universal Event Tracking Tag ID |
This page was last modified: 31 Jan 2024
Need support?
Questions? Problems? Need more info? Contact Segment Support for assistance!