# Need help implementing a \[CACHEBUSTER\] macro

**URL:** <https://forum.kirupa.com/t/need-help-implementing-a-cachebuster-macro/324160>\
**Category:** flash\
**Created:** [August 5, 2011, 1:46pm UTC](https://forum.kirupa.com/t/need-help-implementing-a-cachebuster-macro/324160 "2011-08-05T13:46:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![somnamblst](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Post date:** [August 5, 2011, 1:46pm UTC](https://forum.kirupa.com/t/need-help-implementing-a-cachebuster-macro/324160/1 "2011-08-05T13:46:44Z")

</div>

I have been asked to incorporate a 1x1 tracking pixel. Because this is two different 3rd party APIs, I have to implement the 1x1 tracking pixel, inside my Flash files.

The SWFs 3rd party API has a method for using 1x1 tracking pixels

```auto
// Import URLHandler class
import PointRollAPI.core.URLHandler;
 
// Execute a beacon call to track the impression 
URLHandler.beacon("http://servedby. ************ /?cachebuster=[CACHEBUSTER]");

```

The 3rd party whose tracking pixel this is says this about their tracking pixels

[TABLE=“width: 594, align: left”]  
[TR]  
[TD] **Notes to publisher:**  
[/TD]  
[/TR]  
[TR]  
[TD]To ensure accurate tracking it is essential that you replace [CACHEBUSTER] in the tracking pixel tag with a random number or timestamp.

The only thing I am finding when I google is some documentation from DoubleClick, which is unfortunately not the #rd party API I am dealing with.

Any suggestions of what to prsue much appreciated.  
[/TD]  
[/TR]  
[/TABLE]
