Git Product home page Git Product logo

Comments (4)

bobchao avatar bobchao commented on September 27, 2024

啊對我忘了這個.... orz 看起來正確

kktix 目前沒有支援設定這玩意,所以從 ocf 去 kktix 的抓得到、但 kktix 回來 ocf 的就抓不到了;

from v0.ocf.tw.

pofeng avatar pofeng commented on September 27, 2024

了解, 感謝, 如果以後 kktix 有支援自訂訂票成功的結果頁面重導, 應該也可以解決
eg:
http://ocf.tw/subscribe/
內嵌 (iframe)
https://ocf.neticrm.tw/civicrm/profile/create?gid=12&reset=1
成功後, neticrm 轉到, http://ocf.tw/subscribe/confirm.html
( 仍然內嵌於 ocf.tw/subcribe/ )

from v0.ocf.tw.

pofeng avatar pofeng commented on September 27, 2024

目前 neticrm 的設定 ( view-source:https://ocf.neticrm.tw/civicrm/contribute/transact?reset=1&id=1 )

<script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-28254338-1']);
      _gaq.push(['_setDomainName', 'neticrm.tw']);
      _gaq.push(['_trackPageview']);
      _gaq.push(['_setVar', '@ocf.neticrm.tw']);
      _gaq.push(['_setCustomVar', 1, 'Domain', 'ocf.neticrm.tw', 3]);
      _gaq.push(['b._setAccount', 'UA-379894-19']); _gaq.push(['b._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>

from v0.ocf.tw.

pofeng avatar pofeng commented on September 27, 2024

neticrm.tw 需要的 script :

<script>
   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

   ga('create', 'UA-379894-19', 'auto', {'allowLinker': true});
   ga('require', 'linker');
   ga('linker:autoLink', ['ocf.tw', 'ocftw.kktix.cc', 'kktix.com'] );

   ga('send', 'pageview');    
 </script>

from v0.ocf.tw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.