1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Add Code to Head Section of a "Thank You Page"

Discussion in 'Free Divi Community Forum' started by Tony C, Apr 16, 2021.

  1. Tony C

    Tony C New Member

    I am trying to add Google Ads "event" tracking code to a Thank you page. I need to add it to the head section of just that page. The code module does not work as it places the code in the "body" Anybody know how this can be done?

    Thanks
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade slide in bar design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    This would require custom code in child theme functions.php

    You may try the below code in your child theme functions.php:
    Code:
    Log In or Sign Up to view this code.
    Change 2 to your page id. And Your Code to your own code.