8 Replies Latest reply on Dec 15, 2006 8:49 AM by Newsgroup_User

    clickTAG, clickTag, _level0.clickTag

    aniebel Level 2
      Literally, there's a difference... I know that. But I just wanted to check with the pros before I try to push our media company to provide accurate specs to us.

      I've been told that across the board, the clickTags for the sites we are posting on are the same. First off, I check a few and they are not the same. Some require "clickTAG" and some require "clickTag".

      I'm sending out to over 15 different sites and would like to know if some sites will take either syntax. Does anyone know this?
        • 1. Re: clickTAG, clickTag, _level0.clickTag
          Level 7
          aniebel,

          > I've been told that across the board, the clickTags for
          > the sites we are posting on are the same. First off, I
          > check a few and they are not the same. Some require
          > "clickTAG" and some require "clickTag".

          I believe it's going to come down to whatever unique permutation each
          agency is looking for -- which is frustating, because it really shouldn't be
          so difficult. ;)

          Ultimately, there's nothing significant to the word "clickTAG,"
          whichever of its letters are capitalized (the word could easily be
          "soggyGaloshes," truth be told). The word itself is simply an arbitrary
          variable whose value gets passed into the SWF from an outside source, such
          as a query string or FlashVars.

          For the last view versions of the Flash Player, case matters. For
          example, this ...

          var clickTAG:String = "abc";

          ... is not the same as this ...

          var clickTag:String = "abc";

          ... simply because some of the letters are capitalized differently.

          So whatever a given tracking agency gives you to track, their version is
          the one you have to use for their SWFs. At there's some sense of
          convention, in that they're at least using the same word. ;)


          David Stiller
          Adobe Community Expert
          Dev blog, http://www.quip.net/blog/
          "Luck is the residue of good design."


          • 2. Re: clickTAG, clickTag, _level0.clickTag
            aniebel Level 2
            Thanks, David! It's as I suspected in the fact that the variable are different. I think the media company's just trying to get by without researching the agencies who are doing the hosting. For instance, they told me to use:

            The click tag is:

            getURL (_level0.clickTag, "_blank");
            to
            getURL (clickTAG, "_blank");?

            Which doesn't tell me much as they are referring to over 15 sites.

            • 3. Re: clickTAG, clickTag, _level0.clickTag
              Level 7
              aniebel,

              > I think the media company's just trying to get by without
              > researching the agencies who are doing the hosting.

              That may be. It would sure frustrate me!

              > For instance, they told me to use:
              >
              > The click tag is:
              >
              > getURL (_level0.clickTag, "_blank");
              > to
              > getURL (clickTAG, "_blank");?

              Yeah, that's ridiculous. The _level0 part doesn't really matter,
              because all FlashVars variables are dumped into the root. It's not likely
              your banner has more than one level. But if you choose clickTAG and your
              banner is embedded in a page that passes in a clickTag variable, well, those
              would be two different variables, and they'd lose ad revenue.


              David Stiller
              Adobe Community Expert
              Dev blog, http://www.quip.net/blog/
              "Luck is the residue of good design."


              • 4. Re: clickTAG, clickTag, _level0.clickTag
                Level 7
                aniebel,

                You know what? To cover your bases, you might try something like this:

                myButton.onRelease = function():Void {
                if (clickTAG) getURL (clickTAG, "_blank");
                else if (clickTag) getURL (clickTag, "_blank");
                // etc. with other likely variants
                }

                That checks for the existance of the variable first. If the variable
                exists, it uses the value of that one, else it checks for the next variant,
                else the next, etc.


                David Stiller
                Adobe Community Expert
                Dev blog, http://www.quip.net/blog/
                "Luck is the residue of good design."


                • 5. Re: clickTAG, clickTag, _level0.clickTag
                  aniebel Level 2
                  Thanks for this but for some reason it did not work when the media company tested it. They were saying that I should be able to click on the SWF by itself and get it to open a browser which will obviously not work the way it is coded. I am not sure why that test is pertinent to the normal functionality of the banner but time was short and I had to get it out the door.

                  Maybe more experimenting with the next batch! I'll check back in with results.
                  • 6. Re: clickTAG, clickTag, _level0.clickTag
                    Level 7
                    aniebel,

                    > Thanks for this but for some reason it did not work
                    > when the media company tested it.

                    Odd. I'd give up a cup of eggnog to find out what didn't work and how
                    they tested it. ;)

                    > They were saying that I should be able to click on
                    > the SWF by itself and get it to open a browser which
                    > will obviously not work the way it is coded.

                    Agreed. The sample code requires a button whose dimensions are set to
                    the full dimensions of the SWF's stage. Of course, since that button would
                    be *in* the SWF, it would *feel* as if one were clicking on the SWF by
                    itself, but you could also set a listener for the Mouse.onMouseUp event.
                    That would respond to any click anywhere inside the SWF, but or no.

                    > I am not sure why that test is pertinent to the normal
                    > functionality of the banner but time was short and I
                    > had to get it out the door.

                    Ha, I can certainly empathize. :)

                    When you said "not sure why that test is pertinent" do you mean the if()
                    statement? If so, I can try to explain more clearly.


                    David Stiller
                    Adobe Community Expert
                    Dev blog, http://www.quip.net/blog/
                    "Luck is the residue of good design."


                    • 7. Re: clickTAG, clickTag, _level0.clickTag
                      aniebel Level 2
                      Oh, no, I mean that I am not sure why the media company would test it in that manner. I would think they would test it in a simulated working environment... ie: a hosting page. Doesn't make sense to simply click on a stand-alone SWF to see if the clickTag works or not.
                      • 8. Re: clickTAG, clickTag, _level0.clickTag
                        Level 7
                        aniebel,

                        > Oh, no, I mean that I am not sure why the media company
                        > would test it in that manner. ... Doesn't make sense to simply
                        > click on a stand-alone SWF to see if the clickTag works or
                        > not.

                        Oh wow. Yeah, wow ... I had no idea that's what they were doing. That
                        makes zero sense! Without the HTML file, the clickTag variable has no
                        meaning, because its value is *set* by the HTML file.


                        David Stiller
                        Adobe Community Expert
                        Dev blog, http://www.quip.net/blog/
                        "Luck is the residue of good design."