Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Is there any way to log where a person came from to your site?

E.g. I have a counter database which logs the IP, Date, Time and the browser they used, is there any way to get filemaker to also log how they got to the site? (Ie which site they came from).

I'm using an Extreme tracker, but the FM database is logging _loads_ more hits than the tracker is, and frankly I'm more inclined to go with my Filemaker counter. I only really use the Extreme tracker to see where ppl are comin from smile.gif" border="0

I'm assuming it would take some sort of Javascript to do so...

Any ideas?

TIA

  • Author

I don't have Lasso, spent my last pennies on the unlim FM license smile.gif" border="0 hehe

I'm sure I can mod that Javascript into a URL... cheers smile.gif" border="0

This:

if (document.referrer != "") {

document.write("You arrived from page " + document.referrer + ".")

}

should do the trick.

Lasso has a [log] tag, which will log any data to a file. That, with Lasso's [referrer_url] tag would do what you're looking for. Not sure if CDML has similar.

- John

  • Author

<script language="javascript1.2">

{

document.write("<frameset framespacing="0" border="0" rows="1,*" frameborder="no" bordercolor="#333333"><frame name="header" scrolling="no" target="main" src="http://www.pyroport.com:591/FMPro?-db=counter.fp5&-format=main.htm&-lay=counter&-format=top.htm&R=" + document.referrer + "&-new" marginwidth="0" marginheight="0">

<frame name="main" src="http://www.pyroport.com:591/FMPro?-db=news.fp5&-lay=main&-format=main.htm&use=yes&-sortfield=Date&-sortorder=Descending&-sortfield=Time&-sortorder=Descending&-max=25&-find"& gt;

<noframes><body><p>This page uses frames, but your browser doesn"t support them.</p></body></noframes></frameset>")

}

</script>

I'm having trouble with the top frame, whenever document.referrer is actually a value Filemaker coughs up a Error Type 5, which is an invalid command.

I've tried various setups but I can't get it to work frown.gif" border="0

[ August 04, 2001: Message edited by: PotzUK ]

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.