Title: Adding a tracking code
Last modified: August 22, 2016

---

# Adding a tracking code

 *  [Eliot Y](https://wordpress.org/support/users/eliot-y/)
 * (@eliot-y)
 * [11 years ago](https://wordpress.org/support/topic/adding-a-tracking-code/)
 * Hi,
 * I need to add a smartpixel tracking code on our blog to track the number of visitors
   to our blog. I followed the following instructions:
    “To add the AdRoll SmartPixel
   to your self-hosted WordPress page, go to your dashboard and select Appearance
   and then Editor. From there, you can view your Templates, followed by php files.
   Select the “footer.php”, scroll down to the closing body tag, and place the SmartPixel
   directly above it.”
 * This didn’t work. Has anyone experienced this issue before and can point me in
   the right direction?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years ago](https://wordpress.org/support/topic/adding-a-tracking-code/#post-5931227)
 * – what theme are you trying to put the code in?
    – where did you get this code
   from?
 *  Thread Starter [Eliot Y](https://wordpress.org/support/users/eliot-y/)
 * (@eliot-y)
 * [11 years ago](https://wordpress.org/support/topic/adding-a-tracking-code/#post-5931387)
 * I am trying to add the code in the Suffusion theme in the “footer.php” template.
   I have added it and it doesn’t work.
 * The code is from a retargeting company called Adroll. I have used their smartpixel
   code on our direct website and it works.
 * Thanks in advance for any guidance you can give me.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [11 years ago](https://wordpress.org/support/topic/adding-a-tracking-code/#post-5931412)
 * -Suffusion support: [http://www.aquoid.com/forum](http://www.aquoid.com/forum)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding a tracking code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/adding-a-tracking-code/#post-5931412)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
