first result http://wicket.markmail.org/search/?q=analytics%20javascript
-igor On Mon, Jul 26, 2010 at 8:49 AM, Sam Barrow <s...@sambarrow.com> wrote: > I'll look it up. I always search before asking, I just wasn't able to > find this since it's kind of a difficult set of keywords to search > google for. > > On Mon, 2010-07-26 at 08:45 -0700, Igor Vaynberg wrote: >> i think this was discussed already (for this exact usecase even), >> search the archives. >> >> -igor >> >> On Mon, Jul 26, 2010 at 8:42 AM, Sam Barrow <s...@sambarrow.com> wrote: >> > Is there a way to pass a raw value to be displayed in a wicket markup >> > file? I'm trying to create a google analytics panel that takes an id >> > string and puts it directly in the markup with no tag. >> > >> > <script type="text/javascript"> >> > var _gaq = _gaq || []; >> > _gaq.push(['_setAccount', ${MY_RAW_VALUE}]); >> > _gaq.push(['_trackPageview']); >> > (function() { >> > var ga = document.createElement('script'); ga.type = >> > 'text/javascript'; ga.async = true; >> > ga.src = ('https:' == document.location.protocol ? 'https://ssl' : >> > 'http://www') + '.google-analytics.com/ga.js'; >> > var s = document.getElementsByTagName('script')[0]; >> > s.parentNode.insertBefore(ga, s); >> > })(); >> > </script> >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> > For additional commands, e-mail: users-h...@wicket.apache.org >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org