Wednesday, November 14, 2018

Adobe Dynamic Tag Management - Facebook Pixel

Install the Facebook pixel

  1. Open Adobe Dynamic Tag Management.
  2. Select the appropriate company if you work on multiple. If not, just click the Web Property you want to install the Facebook pixel on.
  3. Click Add a Tag.
  4. Click Go to Rules.
  5. From the left menu, select Page Load Rules.
  6. Click Create New Rule.
  7. Give it a name.
  8. Click the + button to expand the Javascript/Third Party Tags tab.
  9. Select Sequential HTML.
  10. Click Add New Script.
  11. Go to the Pixels page in Facebook Ads Manager.
  12. Copy your pixel ID.
  13. Back in Adobe DTM, paste the code in the black custom code box.
  14. Give the tag script a name, then click Save Code.
  15. Click Save Rule.
  16. Click Create Tag.

Assign events

Now that you've placed the pixel code on your site, you can create events for specific actions you'd like to measure, such as when someone makes a purchase.
  1. Select Event Based Rules from the left menu.
  2. Click Create New Rule.
  3. Give the rule a name and select the appropriate event type from the drop-down.
  4. Assign the appropriate target in the Element Tag or Selector box. You can enter it manually or use the selection tool by clicking the circle icon to the right of the box. You can also add various rule conditions.
  5. Click the + button to expand the Javascript/Third Party Tags tab.
  6. Select Non-Sequential or Sequential JavaScript, then click Add New Script.
  7. Give it a name, then add the appropriate event code (ex: fbq('track','AddToCart');) into the black code box.
  8. Click Save Code.
  9. Click Save Rule.

Check if your pixel is working

Once you've uploaded all your events, you should check if your pixel is firing correctly. To check that your pixel is working properly on your live site:
  1. Go to the page where the pixel was placed. If it's working, the pixel will send information back to Facebook and you'll be able to see activity in the Pixels page in Ads Manager. Your pixel's status will also be set to Active.
  2. Note: The activity column reports all conversion events, regardless of whether or they're associated with an ad.
  3. If this page says No Activity, then check out the Facebook Pixel Helper troubleshooting guide.
Once you've successfull setup your pixel, learn how to start running ads on Facebook using conversion optimization and tracking.

Credit : Facebook.com

Generate reports from Opportunities using a Visualforce Page in Salesforce

  Step 1: Create a Visualforce Page Go to the Setup menu in Salesforce. Search for "Visualforce Pages" in the Quick Find box and c...